package com.goa.mapper;

import com.goa.entity.CurrentVoltage;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CurrentVoltageMapper {
    //根据时间戳范围查询电压电流数据
    List<CurrentVoltage> selectCurrentVoltageByTime(@Param("deviceId") String deviceId, @Param("timestamp") long timestamp, @Param("timestamp1") long timestamp1);
}
